<html>
	<head>
		<link rel="stylesheet" type="text/css" href="css/template.css" />
		<link rel="stylesheet" type="text/css" href="css/smoothness/jquery-ui-1.10.0.custom.css" />
		<link rel="stylesheet" type="text/css" href="css/main.css" />
		<script type="text/javascript" src="JQuery/jquery-1.9.0.min.js"></script>  
		<script type="text/javascript" src="JS/Main.js"></script> 
		<script type="text/javascript" src="JQuery/jquery-ui-1.10.0.custom.js"></script> 	
		<title>Page Title</title>
	</head>
	<body>
	
		<?php
		
		require("webservices.php");
		
		session_start();
			
		/*	
		if(isset($_SESSION['userid'])) 
		{
			echo "OK";
		}
		else
		{
			echo "NO";
		}
		
		*/
		
		$user_id = $_SESSION['userid'];
		
		$UserData = Get_user_dashboard_info($user_id);
		
		
		$Name = $UserData[0]['first_name'] . " " . $UserData[0]['last_name'];
		
		?>
		
		<div id="main">
			
			<div id="TopBoard">
				<img src="images/redpen-01.png" alt="RedPenLogo" id="RedPenLogo"/>
				
				<span id="AuthInfo">
					<span id="Avatar"><img src="images/avatar/dmz.png" id="AvatarImg" /></span> 
					<span id="UserName">
					<?php
						echo $Name;
					?>
					</span>
					<span id="LogOut"><a href="">Logout</a></span>
				</span>
			</div>
			
			<div id="HeaderBar"></div>
			
			<div id="Content">	
			
			<!--
			<span>Enter User ID: </span><input type="text" id="UserID" /><button type="button" value="button" id="GetData">Get data</button>
			<br/><span id="Result"></span> -->
				
				<div id="MainContainer">
				
					<div id="tabs">
					  <ul>
						<li><a href="#tabs-1">Tab 1</a></li>
						<li><a href="#tabs-2">Tab 2</a></li>
						<li><a href="#tabs-3">Tab 3</a></li>
					  </ul>
					  <div id="tabs-1">
						<h2>
						<?php
						
						echo "Welcome " . $Name . "!";	
						
						?>
						</h2>
					  	
					  </div>
					  <div id="tabs-2">
						<h2></h2>

					  </div>
					  <div id="tabs-3">
						<h2></h2>
						</div>
					</div>
				</div>
			
				<!-- Put your content here -->
				
			</div>
			
			<footer>
				<div id="HeaderBar"></div>
				<br/>
				<span id="Copyright">
					&#169; Team Flash 2013
					<br/>Pensacola Christian College
				</span>
				<br/>
			</footer>		
		</div>
		
		
	</body>
			
</html>